package com.kamisama.utopia.constant.character;

public class Energy {
    public static final String LV1 = "熬夜冠军";
    public static final String LV2 = "困了";
    public static final String LV3 = "疲惫";
    public static final String LV4 = "还能上班";
    public static final String LV5 = "精力旺盛";
    public static final String LV6 = "嗨了";

    public static String formatEnergy(int energyPercent) {
        String energy = "";
        if (energyPercent <= 10) {
            energy = "精力：" + Energy.LV1;
        } else if (energyPercent <= 30) {
            energy = "精力：" + Energy.LV2;
        } else if (energyPercent <= 60) {
            energy = "精力：" + Energy.LV3;
        } else if (energyPercent <= 80) {
            energy = "精力：" + Energy.LV4;
        } else if (energyPercent < 110) {
            energy = "精力：" + Energy.LV5;
        } else {
            energy = "精力：" + Energy.LV6;
        }
        energy = energy + " [" + energyPercent +"%] \n";
        return energy;
    }
}
